package es.ats.codington.festival.domain;

/**
 * POJO class to represent Event domain class.
 */
public class Event {

	// Encapsulated data fields for EVENT class
	/**
	 * Member variables of Event class
	 */
	private int idEvent;
	private String eventName;
	private String description;
	private int duration;
	private String eventType;
	private int seatsAvailable;
	private int seatsTotal;
	private String place;
	
	//----------------Constructor-----------------

	/**
	 * Event class constructor without parameters.
	 */
	public Event() {}
	
	/**
	 * Event class constructor with all parameters of the class.
	 * 
	 * @param eventName
	 * @param description
	 * @param duration
	 * @param eventType
	 * @param seatsAvailable
	 * @param seatsTotal
	 * @param place
	 */
	public Event(String eventName, String description,
			int duration, String eventType, int seatsAvailable, int seatsTotal, String place) {
		super();
		this.eventName = eventName;
		this.description = description;
		this.duration = duration;
		this.eventType = eventType;
		this.seatsAvailable = seatsAvailable;
		this.seatsTotal = seatsTotal;
		this.place = place;
	}

	//-----------------Getters and Setters-------------------
	
	public int getIdEvent() {
		return idEvent;
	}
	public void setIdEvent(int idEvent) {
		this.idEvent = idEvent;
	}
	public String getEventName() {
		return eventName;
	}
	public void setEventName(String eventName) {
		this.eventName = eventName;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getDuration() {
		return duration;
	}
	public void setDuration(int duration) {
		this.duration = duration;
	}
	public String getEventType() {
		return eventType;
	}
	public void setEventType(String eventType) {
		this.eventType = eventType;
	}
	public int getSeatsAvailable() {
		return seatsAvailable;
	}
	public void setSeatsAvailable(int seatsAvailable) {
		this.seatsAvailable = seatsAvailable;
	}
	public int getSeatsTotal() {
		return seatsTotal;
	}
	public void setSeatsTotal(int seatsTotal) {
		this.seatsTotal = seatsTotal;
	}
	public String getPlace() {
		return place;
	}
	public void setPlace(String place) {
		this.place = place;
	}

	
}
